package org.example.service.inter;

import org.example.entitys.systems.Teacher;

/**
 * @Description
 * @Author 魏锴
 * @Date 2023/11/13
 */
public interface TeacherService {
    boolean insertTeacher(Teacher teacher);//添加教师

    boolean updateTeacher(Teacher teacher);//修改教师

    boolean deleteTeacher(int id);//删除教师

    Teacher[] queryTeacherByName(String name);//通过name查询教师

    Teacher queryTeacherById(int id);//通过id查询教师
}
